package com.inspsys.algorithms.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.inspsys.common.annotation.Excel;
import com.inspsys.common.core.domain.BaseEntity;

/**
 * sampleLibrary对象 algorithms_sample_library
 *
 * @author inspsys
 * @date 2025-01-08
 */
public class AlgorithmsSampleLibrary extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 专业 */
    @Excel(name = "专业")
    private String major;

    /** 样本名称 */
    @Excel(name = "样本名称")
    private String sampleName;

    /** 对象 */
    @Excel(name = "对象")
    private String object;

    /** 样本图像 */
    @Excel(name = "样本图像")
    private String sampleImage;

    /** 视图 */
    @Excel(name = "视图")
    private String view;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setMajor(String major)
    {
        this.major = major;
    }

    public String getMajor()
    {
        return major;
    }
    public void setSampleName(String sampleName)
    {
        this.sampleName = sampleName;
    }

    public String getSampleName()
    {
        return sampleName;
    }
    public void setObject(String object)
    {
        this.object = object;
    }

    public String getObject()
    {
        return object;
    }
    public void setSampleImage(String sampleImage)
    {
        this.sampleImage = sampleImage;
    }

    public String getSampleImage()
    {
        return sampleImage;
    }
    public void setView(String view)
    {
        this.view = view;
    }

    public String getView()
    {
        return view;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("major", getMajor())
            .append("sampleName", getSampleName())
            .append("object", getObject())
            .append("sampleImage", getSampleImage())
            .append("view", getView())
            .toString();
    }
}
